



<SCRIPT LANGUAGE="JavaScript">
<!--
/**
*	
*/
function f_gridDblFunc(keyID) {
	var curKeyID = trselObj.f_get_select_key();
	curKeyID = curKeyID[0];
	if (curKeyID == "") return ;
	//alert("curKeyID = " + curKeyID);

	var cost_unit_id= "";//trselObj.f_getTDValueByKeyName(curKeyID ,"v_in_material_provider.cost_unit_id");
	var use_dept_key_id= trselObj.f_getTDValueByKeyName(curKeyID ,"v_finace_group_mat_odd.use_dept_key_id");
        //alert("use_dept_key_id= "+use_dept_key_id);
	var mat_code = trselObj.f_getTDValueByKeyName(curKeyID ,"v_finace_group_mat_odd.material_code");
        //alert("mat_code = "+mat_code );
	var where_sql = " v_in_mat_i_other_odd.use_dept_key_id=?  and v_in_mat_i_other_odd.material_code=? ";
	var where_type = "string;string";
	var where_value = use_dept_key_id + ";" + mat_code;

	var contextPath = "<%=CONTEXTPATH%>";
	var funcid = "groupaudit_prov_mat_odd2";

	var href = contextPath + "/wzmis/finance/frame_groupaudit_prov_mat_d.jsp?funid=" + funcid + "&pageType=subgrid";
	href += "&where_sql=" + where_sql;
	href += "&where_value=" + where_value;
	href += "&where_type=" + where_type;
	href += "&orgwhere_sql=" + where_sql;
	href += "&orgwhere_type=" + where_type;
	href += "&orgwhere_value=" + where_value;
	//alert("href = " + href);

	parent.frames("frmformdata").document.location = href
}
//-->
</SCRIPT>
